From 6e6b79115c2b3e246a56357ac3b6f0325997f427 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 31 Mar 2008 10:37:19 +0100 Subject: [PATCH] xm: Make xm's printout of security errors look better Signed-off-by: Stefan Berger --- tools/python/xen/xm/XenAPI.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/python/xen/xm/XenAPI.py b/tools/python/xen/xm/XenAPI.py index a3717d70f2..dd38f37902 100644 --- a/tools/python/xen/xm/XenAPI.py +++ b/tools/python/xen/xm/XenAPI.py @@ -64,6 +64,7 @@ errormap = { "HANDLE_INVALID": N_("The %(1)s handle %(2)s is invalid."), "OPERATION_NOT_ALLOWED": N_("You attempted an operation that was not allowed."), "NETWORK_ALREADY_CONNECTED": N_("The network you specified already has a PIF attached to it, and so another one may not be attached."), + "SECURITY_ERROR": N_("%(2)s"), } translation = gettext.translation('xen-xm', fallback = True) -- 2.30.2